package com.example.common.view.model

import com.example.common.view.api.BaseApiService

//基础仓库层
abstract class BaseRepository <S:BaseApiService>{
    protected var apiService:S
    init {
        apiService=createApiService()
    }
    protected abstract fun createApiService():S
}